<?php
/**
 * 
 * @author Paolo Bertuzzo
 *
 */
namespace Catalog\Service;

use Catalog\Data\CollectionDao;

class CollectionService
{

    /**
     */
    protected $collectionDao;

    /**
     *
     * @param CollectionDao $collection\Dao            
     */
    public function __construct(CollectionDao $collectionDao)
    {
        $this->collectionDao = $collectionDao;
    }
    
    /**
     * 
     * @param integer $pageSize
     */
    public function getAdvertised($pageSize) 
    {
        return $this->collectionDao->getAdvertised($pageSize);
    } 
       
}

?>